<div class="table-responsive">
    <table class="table table-bordered table-hover">
        <thead>
            <th class="text-center">
                <input type="checkbox" onclick="$('input[name*=\'user_id\']').prop('checked', this.checked);">全选</th>
            <th class="text-center">会员ID</th>
            <th class="text-center">会员等级</th>
            <th class="text-center">会员昵称 </th>
            <th class="text-center">手机</th>
            <!--<th class="text-center">邮箱</th>-->
            <th class="text-center">操作</th>
            </tr>
        </thead>
        <tbody id="goos_table">
            <volist name="userList" id="list">
                <tr>
                    <td class="text-center">
                        <input type="checkbox" name="user_id[]" value="{$list.user_id}" />
                    </td>
                    <td class="text-center">{$list.user_id}</td>
                    <td class="text-left">{$user_level[$list[level]]}</td>
                    <td class="text-left">
                        <if condition=" $list[nickname] eq null">
                            <if condition=" $list[oauth] eq 'weixin'">微信用户</if>
                            <if condition=" $list[oauth] eq 'weibo'">微博用户</if>
                            <if condition=" $list[oauth] eq 'alipay'">支付宝用户</if>
                            <if condition=" $list[oauth] eq 'qq'">QQ用户</if>
                            <else /> {$list.nickname}
                        </if>
                    </td>
                    <td class="text-left">{$list.mobile}</td>
                    <!--<td class="text-left">{$list.email}</td>-->
                    <td><a href="javascript:;" onclick="javascript:$(this).parent().parent().remove();">删除</a></td>
                </tr>
            </volist>
        </tbody>
    </table>
</div>
<div class="row">
    <div class="text-left col-sm-10">
        {$page}
    </div>
    <div class="text-right col-sm-2">
    </div>
</div>
<script>
$(".pagination  a").click(function() {
    var page = $(this).data('p');
    ajaxGetTable('search-form2', page);
});
</script>
